#ifndef GPSWRAPPER_H_INCLUDED
#define GPSWRAPPER_H_INCLUDED

#include <iostream>
#include <ctime>

//GpsWrapper.h - Simple (honest!) simulator for GPS position of a bus travelling
//round a perfectly square track of edge 400m, as is expected in our Test Route

using namespace std;

struct GpsWrapper{

    private:
    time_t time0, time1;
    int d;
    float totalTime;

    void update();
    float velocity;


    public:
    float odo;
    float * GetSquareLatLong(float gpsBuffer[2]);
    GpsWrapper();


};
#endif
